Hi Ray,
Congrats And the Source Code would be a really great help for others.
Regarding:
Current Actual FeedRate DRO - KMotionCNC doesn't yet have this currently you need to calculate that yourself. The MainStatus record contains all the sampled positions and a TimeStamp of when they were sampled so by saving the last MainStatus you can do a deltax/deltay calculation to get an average rate since the last status.
FRO - should exist. KMotionCNC has a slider that then feeds into the Trajectory Planner.
RPM - for actual RPM there are Console Command Support for this. You must have an encoder on your Spindle
"GETSPINDLERPS " , // GetSpindleRPS/Get measured Spindle RPM in Revs per second/i.e. GetSpindleRPS
"CONFIGSPINDLE D0 1 D0 7 GGG" , // ConfigSpindle T A U W C/Configure Spindle Settings/Type 0=none 1=encoder/Axis used for encoder/UpdateTimeSecs - delta time for measurement/Tau - low pass filter time constant (threading)/CountsPerRev - encoder counts per rev/i.e. ConfigureSpindle 1 0 0.2 0.1 4096.0
"TRIGTHREAD G" , // TrigThread S/Trigger Coordinated Motion Threading Motion/B=Base Spindle Speed (RPS) that coordinated motion was planned for/i.e. TrigThread 10.0
SSO - not yet directly supported. There was some discussion a while ago. It is complicated because there are 4 knobs that want to control it at the same time. The S command, a Screen Control, An External Control, and CSS (Constant Surface Speed).
Thanks
TK
Group: DynoMotion |
Message: 3370 |
From: himykabibble |
Date: 1/23/2012 |
Subject: Re: It's Alive! |
Tom,
OK, understood.
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ray,
> Â
> Congrats And the Source Code would be a really great help for others.
> Â
> Regarding:
> Â
> Current Actual FeedRate DRO - KMotionCNC doesn't yet have this currently you need to calculate that yourself. The MainStatus record contains all the sampled positions and a TimeStamp of when they were sampled so by saving the last MainStatus you can do a deltax/deltay calculation to get an average rate since the last status.
> Â
> FRO - should exist. KMotionCNC has a slider that then feeds into the Trajectory Planner.Â
> Â
> RPM - for actual RPM there are Console Command Support for this. You must have an encoder on your Spindle
> Â "GETSPINDLERPS ", // GetSpindleRPS/Get measured Spindle RPM in Revs per second/i.e. GetSpindleRPS"CONFIGSPINDLE D0 1 D0 7 GGG", // ConfigSpindle T A U W C/Configure Spindle Settings/Type 0=none 1=encoder/Axis used for encoder/UpdateTimeSecs - delta time for measurement/Tau - low pass filter time constant (threading)/CountsPerRev - encoder counts per rev/i.e. ConfigureSpindle 1 0 0.2 0.1 4096.0"TRIGTHREAD G", // TrigThread S/Trigger Coordinated Motion Threading Motion/B=Base Spindle Speed (RPS) that coordinated motion was planned for/i.e. TrigThread 10.0
> Â
> SSO - not yet directly supported. There was some discussion a while ago. It is complicated because there are 4 knobs that want to control it at the same time. The S command, a Screen Control, An External Control, and CSS (Constant Surface Speed).
> Â
> Thanks
> TK
> Â
> Â
> From: himykabibble <jagboy@...>
> To: DynoMotion@yahoogroups.com
> Sent: Monday, January 23, 2012 10:28 AM
> Subject: [DynoMotion] Re: It's Alive!
>
>
> Â
> Brad,
>
> Will do. And I'll post my source, once it's in better shape.
>
> I've got a lot of loose ends to tie up yet. Little things like getting the feedrate and spindle speed DROs working. Not sure I see where to get the data from for most of those. I have DROs for commanded feedrate, FRO and actual feedrate, and for commanded spindle RPM, SSO, and actual RPM. Worst case, I can track those myself, by passing data back from the DSP. I seem to have slain the bug that was causing the KMotion crashes on exit, though I'm not sure what I did to fix it.... I did find an init problem that might explain it. Lots of error handling to put in yet. And I need to hook in an E-Stop coming FROM the machine, in addtion to the ones in the pendant, and the on-screen one.
>
> But, overall, I am tickled pink with how nicely this is all working at this early stage.
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> >
> > Excellent news Ray!
> >
> >
> >
> > You'll have to send us some pics/vids of your machine + controller running
> > some of that 'real work'.
> >
> >
> >
> > -Brad
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> > Behalf Of himykabibble
> > Sent: Monday, January 23, 2012 10:49 AM
> > To: DynoMotion@yahoogroups.com
> > Subject: [DynoMotion] It's Alive!
> >
> >
> >
> >
> >
> > I just hooked my CNC Controller app to the machine for the first time, it's
> > all basically working! Coolant, spindle, E-Stop, G-code execution, MDI, all
> > work, just a lot of details to be cleaned. But this is seriously cool, for a
> > relative numb-nuts, and c#/.Net newbie, to be able to get this level of
> > functionality with so little (well, relatively speaking) effort!
> >
> > A BIG thanks to Brad and Tom! KFlop is very close to meeting, if not
> > exceeding, my most ambitious hopes! I think with just a few more days of
> > effort I can have the app to the point that I can start using it for real
> > work.
> >
> > Regards,
> > Ray L.
> >
>
|
|
| |